#pragma once
#include "vn/BasicTypes.h"

void BasicTypesTest() {_test_func_;

	Int		i	= -10;
	Int64	i8	= -10;
	Long	i4	= -10;
	Short	i2	= -10;
	Char	i1	= -10;

	UInt	u	= (1	<< 31);
	UInt64	u8	= (1ULL	<< 63);
	ULong	u4	= (1UL	<< 31);
	UShort	u2	= (1	<< 15);
	UChar	u1	= (1	<< 7);

	assert(sizeof(i)  == 4);
	assert(sizeof(i8) == 8);
	assert(sizeof(i4) == 4);
	assert(sizeof(i2) == 2);
	assert(sizeof(i1) == 1);

	assert(sizeof(u)  == 4);
	assert(sizeof(u8) == 8);
	assert(sizeof(u4) == 4);
	assert(sizeof(u2) == 2);
	assert(sizeof(u1) == 1);
}

